<!DOCTYPE html>
<html lang="en">
<head>
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"/>
    <meta charset="utf-8"/>
    <title></title>
    <meta name="description" content="overview &amp; stats"/>
    <meta name="viewport" content="width=device-width, initial-scale=1.0"/>
    <link href="{$Think.config.DOMAIN_URL}/Public/AdminTpl/css/bootstrap.min.css" rel="stylesheet"/>
    <link rel="stylesheet" href="{$Think.config.DOMAIN_URL}/Public/AdminTpl/css/font-awesome.min.css"/>
    <link rel="stylesheet" href="{$Think.config.DOMAIN_URL}/Public/AdminTpl/css/ace.min.css"/>
    <link rel="stylesheet" href="{$Think.config.DOMAIN_URL}/Public/AdminTpl/css/my-style.css">
    <script src="{$Think.config.DOMAIN_URL}/Public/AdminTpl/js/jquery-2.1.1.min.js"></script>
    <script src="{$Think.config.DOMAIN_URL}/Public/AdminTpl/layer/layer.js"></script>
    <style>
        .s_task-pop {
            background: #fff;
            min-height: 100vh;
            box-sizing: border-box;
            padding: 0 20px 10px 20px;
            position: relative;
        }
        table.table.s_task-table{
            margin-bottom: 55px;
        }
        .s_task-table > thead > tr {
            background: transparent;
        }
        .s_task-table > tbody {
            padding: 0 10px;
            border: 1px solid #ddd;
            background-color: #F5F6F7;
        }

        .table tr.s_task-table > tbody > tr > td {
            padding-left: 20px;
        }
        .table tr.s_task-table > tbody > tr {
            background: #f5f6f7;
        }
        .table tr.vertical > td,.table thead tr.vertical > th {
            vertical-align: middle;
            padding-left: 20px;
            height: 45px;
        }
    </style>
</head>

<body class="skin-1">

<div class="s_task-pop">
    <table class="table s_task-table">
        <thead>
        <tr class="vertical">
            <th class="left" style="width: 20%">收支类型</th>
            <th class="left" style="width: 15%">变化</th>
            <th class="left" style="width: 15%">余额</th>
            <th class="left" style="width: 20%">收支来源</th>
            <th class="left" style="width: 25%">时间</th>
        </tr>
        </thead>
        <tbody>
        <volist  name="resList" id="vo">
            <tr class="vertical">
                <if condition="$vo.money gt 0">
                    <td class="left">收入</td>
                    <td class="left color-greend">{$vo.money}</td>
                <else />
                    <td class="left">支出</td>
                    <td class="left color-red">{$vo.money}</td>
                </if>
                <td class="left">{$vo.moneybalance}</td>
                <neq name="vo.mapuid" value="0">
                    <td class="left"><a style="cursor: pointer" onclick="parentMua({$vo.mapuid},'{$vo.uname}','{$vo.tname}')">{$vo.message}</a></td>
                <else/>
                    <td class="left">{$vo.message}</td>
                </neq>
                <td class="left">{$vo.createon}</td>
            </tr>
        </volist>
        </tbody>
    </table>
    {$pageShow}
</div>
</body>
<script>
    function parentMua(uid,uname,tname) {
        window.parent.mapUserIngot(uid,uname,tname);
    }
</script>
</html>
